package com.ruoyi.zsyh.service;

import java.util.List;
import com.ruoyi.zsyh.domain.ZsyhAfterFactoryAddress;

/**
 * 售后厂家收货地址Service接口
 * 
 * @author yuexl
 * @date 2023-06-29
 */
public interface IZsyhAfterFactoryAddressService 
{
    /**
     * 查询售后厂家收货地址
     * 
     * @param id 售后厂家收货地址ID
     * @return 售后厂家收货地址
     */
    public ZsyhAfterFactoryAddress selectZsyhAfterFactoryAddressById(String id);

    /**
     * 查询售后厂家收货地址列表
     * 
     * @param zsyhAfterFactoryAddress 售后厂家收货地址
     * @return 售后厂家收货地址集合
     */
    public List<ZsyhAfterFactoryAddress> selectZsyhAfterFactoryAddressList(ZsyhAfterFactoryAddress zsyhAfterFactoryAddress);

    /**
     * 新增售后厂家收货地址
     * 
     * @param zsyhAfterFactoryAddress 售后厂家收货地址
     * @return 结果
     */
    public int insertZsyhAfterFactoryAddress(ZsyhAfterFactoryAddress zsyhAfterFactoryAddress);

    /**
     * 修改售后厂家收货地址
     * 
     * @param zsyhAfterFactoryAddress 售后厂家收货地址
     * @return 结果
     */
    public int updateZsyhAfterFactoryAddress(ZsyhAfterFactoryAddress zsyhAfterFactoryAddress);

    /**
     * 批量删除售后厂家收货地址
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZsyhAfterFactoryAddressByIds(String ids);

    /**
     * 删除售后厂家收货地址信息
     * 
     * @param id 售后厂家收货地址ID
     * @return 结果
     */
    public int deleteZsyhAfterFactoryAddressById(String id);

    public int updateSetDefaultFactoryAddress(String factoryId, String id);
}
